package com.wisewin.circle.dao;

import com.wisewin.circle.entity.db.ActivityCommentDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface ActivityCommentDAO {

    public void insert(@Param("obj") ActivityCommentDO activityCommentDO);

    public ActivityCommentDO queryActivityCommentById(Integer commentId);

    public void delete(Integer commentId);

    public void updateHeartNum(Integer commentId);

    public void cancleHeartNum(Integer commentId);

    public List<ActivityCommentDO> queryActivityCommentList(Map<String, Object> map);
}